//author: create by SunJH
//时间: 2021/12/1 0001
//邮箱: 965989158@qq.com
//描述: 骨架屏框架测试

import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter_app/counter/counter_shimmer.dart';
import 'package:flutter_shimmer/flutter_shimmer.dart';
import 'package:get/get.dart';

class ShimmerTest extends GetView<CounterShimmer>{


  @override
  Widget build(BuildContext context) {
    Get.put<CounterShimmer>(CounterShimmer());
    return Scaffold(
      body: createShimmerTestPage(),
    );
  }

  createShimmerTestPage() {
    return Column(
      children: [
        Text("开始闪烁"),
        ListTileShimmer(
          hasCustomColors: true,
          colors: [
            Color(0xFF1769aa),
            Color(0xFF4dabf5),
            Color(0xFF2196f3),
          ],
        )
      ],
    );
  }

}